import requests from "./requests";

export const createOrder = (data) => {
  return requests({
    method: "POST",
    url: "/api/createOrder",
    data:{
        ...data
    }
  });
};

export const payment=(data)=>{
  return requests({
    method:'POST',
    url:'/api/payment',
    data:{
      ...data
    }
  })
}